package com.beizhen.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.beizhen.demo.dao.StuBaseDao;
import com.beizhen.demo.entity.StuBase;
import com.beizhen.demo.service.StuBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* 基地表 业务逻辑接口的实现类
*/
@Service
public class StuBaseServiceImpl extends ServiceImpl<StuBaseDao, StuBase> implements StuBaseService {

    @Autowired
    private StuBaseDao stuBaseDao;

    @Override
    public int addStuBaseInfo(StuBase stuBase) {
        return stuBaseDao.addStuBaseInfo(stuBase);
    }

    @Override
    public boolean update_Stubase_baseProfiles(Integer id, String b_baseProfiles, String b_baseProfilesPicture) {
        return stuBaseDao.update_Stubase_baseProfiles(id, b_baseProfiles, b_baseProfilesPicture);
    }

    @Override
    public boolean update_Stubase_baseReception(Integer id, String b_baseReception, String b_baseReceptionPicture) {
        return stuBaseDao.update_Stubase_baseReception(id, b_baseReception, b_baseReceptionPicture);
    }

    @Override
    public boolean update_Stubase_baseRepast(Integer id, String b_baseRepast, String b_baseRepastPicture) {
        return stuBaseDao.update_Stubase_baseRepast(id, b_baseRepast, b_baseRepastPicture);
    }
}
